package br.com.officium.managedbean.cadastro;

import br.com.officium.entidade.cadastro.Advogado;
import br.com.officium.sessionbean.AdvogadoBsn;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

/**
 *
 * @author Ivo
 */
@ManagedBean
@ViewScoped
public class AdvogadoBean extends CadastroAbstractBean {
    
    @EJB
    private AdvogadoBsn advogadoBsn;
    private Advogado advogado;

    public AdvogadoBean() {
        this.advogado = new Advogado();
    }

    @Override
    public void cadastrar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void editar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void excluir() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public String listar() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Advogado getAdvogado() {
        return advogado;
    }

    public void setAdvogado(Advogado advogado) {
        this.advogado = advogado;
    }

}
